package com.fauks.se.design_mode.责任链模式;

public class BHandlerImpl implements Handler {
    @Override
    public boolean accept(String condition) {
        return "B".equals(condition);
    }

    @Override
    public void execute() {
        System.out.println("B");
    }
}
